<?php
/**
 * <https://y.st./>
 * Copyright (C) 2015-2016 //y.st. <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'title' => '<code>//nfcbk2sgyblvdnq3.onion.</code>',
	'subtitle' => 'Ricochet&apos; onion address',
	'copyright year' => '2015-2016',
	'body' => <<<END
<ul>
<li>Record created on <a href="/en/weblog/2015/11-November/12.xhtml">{$entry(2015, 11, 12)}</a></li>
<li>Record removed on <a href="/en/weblog/2015/11-November/12.xhtml">{$entry(2015, 11, 12)}</a></li>
<li>Record recreated on <a href="/en/weblog/2016/03-March/04.xhtml">{$entry(2016, 3, 4)}</a></li>
<li>Record removed on <a href="/en/weblog/2016/03-March/04.xhtml">{$entry(2016, 3, 4)}</a></li>
</ul>
<p>Ricochet refused to operate without an Internet connection, so I tried to disable its ability to reach $a[Tor], then turned my Wi-Fi card back on. Long story short, Ricochet did not operate the way I thought that it did, so this onion address slipped through and was registered to the $a[Tor] network. I can now set Ricochet to use an alternative onion key of my choosing, allowing the preservation of one&apos;s chat handle past a system re-installation or the use of an onion key of one&apos;s choosing, but I am no closer to finding a way to have Ricochet share a hidden service (and therefor an share an onion address) with other network services. While Ricochet may have a protocol prefix making it linkable to from Web and other documents (or it might not, I am still unclear on this), it seems that it does not like to share and currently requires a dedicated hidden service for itself.</p>
<p>I now know that the standalone version of Ricochet downloaded from the main website generates a hidden service directory at &quot;{Ricochet directory}/config/data-0/&quot;.</p>
<p><strong>*UPDATE*:</strong> I&apos;ve done a bit more testing and research and have come to new conclusions. I couldn&apos;t find the $a[Tor] configuration file before because the $a[Tor] configuration for the Ricochet onion address is actually hard-coded into the Ricochet executable. I&apos;ve found some of the relevant lines in the source code, though I don&apos;t know how to modify the source code to allow Ricochet to use the system $a[Tor] daemon, so I cannot get it to use the system onion address. Furthermore, it seems that getting Ricochet to share its onion address with other services (allowing Ricochet to keep control of starting and starting the onion) requires source code modifications and I don&apos;t know how to modify it. Changing the permissions on the hidden service directory prevents Ricochet from activating the onion address, but also cuts it off from the Ricochet network with seemingly no way to connect it.</p>
END
);
